package com.mallcloud.mall.app.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "AppXglSaleBillModel", description = "柜组销售报表")
@Data
@TableName("V_MFID_SALEDAY")
public class AppXglSaleBillModel implements Serializable {
	private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "支付日期")
	@TableField("SPGDDATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date payDate;

    @ApiModelProperty(value = "柜组")
    @TableField("SPGDMFID")
    private String cabinetGroupCode;

    @ApiModelProperty(value = "柜组名称")
    @TableField("GBCNAME")
    private String cabinetName;

    @ApiModelProperty(value = "付款方式")
    @TableField("SPGDPMCODE")
    private String payMethodCode;

    @ApiModelProperty(value = "付款方式名称")
    @TableField("NAME")
    private String payMethodName;

    @ApiModelProperty(value = "金额")
    @TableField("SPGDMONEY")
    private String payMoney;
}
